package com.example.stock.controller.dto;

import com.example.stock.excel.Monitor;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class MonitorPriceDTO extends Monitor {

    private String date;

    /**
     * 重军
     * @param date
     */
    public void setDate(String date) {
        this.date = date;
    }

    /**
     * 当前价格
     */
    private Double currentPrice;

    /**
     * 监控价格
     */
    private Double monitorPrice;

    private Double disPct;

    /**
     * 是否触发
     */
    private boolean trigger;
}
